package com.easyhouse.controller.mapper;

import com.easyhouse.common.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    int selectCountByUsername(@Param("userName") String userName);

    void insertUser(User user);

    User selectExistByUsernameAndPassword(User user);

    User queryByUserId(@Param("userId") String userId);
}
